#ifndef MYGLWINDOW_H
#define MYGLWINDOW_H

#include <QGLViewer/qglviewer.h>

class MyGlWindow : public QGLViewer
{
public:
    MyGlWindow(QWidget* parent = 0);
protected :
    virtual void draw();
    virtual void init();
    void drawOverpaint(QPainter *painter);

    virtual void paintGL() { update(); };
    virtual void paintEvent(QPaintEvent *event);
};

#endif // MYGLWINDOW_H
